package hns;

import hns.services.ClanWarService;
import hns.services.GreetingService;
import hns.services.ListServicesService;
import hns.services.SysinfoService;

import java.io.IOException;

import org.jibble.pircbot.IrcException;
import org.jibble.pircbot.NickAlreadyInUseException;

public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		GreetingService greeter = new GreetingService();
		ClanWarService cwsystem = new ClanWarService();
		ListServicesService help = new ListServicesService();
		SysinfoService sysinfo = new SysinfoService();
		
		try {
			Bot.getInstance().setVerbose(true);
			Bot.getInstance().connect("underworld1.no.quakenet.org", 6667);
			Bot.getInstance().joinChannel("#NoFun");
			Bot.getInstance().joinChannel("#TekniskProjektLedelse");
		} catch (NickAlreadyInUseException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IrcException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

	}

}
